package com.zdw.demo.service;

import com.zdw.demo.entity.WechatOrder;

import java.util.List;

public interface WechatOrderService {

    boolean saveOrUpdate(WechatOrder order);

    boolean updateByOutTradeNo(WechatOrder order);

    boolean batchUpdateByOutTradeNo(List<WechatOrder> orderList);

    boolean closeByOutTradeNo(String outTradeNo);

    WechatOrder selectByTransactionId(String transactionId);

    WechatOrder selectByOutTradeNo(String outTradeNo);

    List<WechatOrder> selectNotPayOrder();
}
